package org.sgr.money.manager.core.meta;

/**
 * code is  the same code in database
 * key is the key of the show text in the props files.
 * 
 * @author SGR
 *
 */
public enum CurrEnum {

	CNY("CNY","CURR.CNY"),
	
	USD("USD","CURR.USD"),
	
	EUR("EUR","CURR.EUR");
	
	private String code;
	private String key;

	CurrEnum(String code,String key) {
		this.code = code;
		this.key = key;
	}

	public String getKey() {
		return key;
	}
	
	public String getCode(){
		return code;
	}
}
